package com.spring.nio.core.reactor.acceptor;

/**
 * @author: YSFY
 * @date: 2021-03-24 18:40
 * @pacage_name: com.spring.nio.core.reactor.acceptor
 * @class_name: AcceptorModelEnum
 * @description: acceptor类型枚举
 */
public enum AcceptorTypeEnum {

    CHAT_ACCEPTOR("CHAT.ACCEPTOR", "聊天Acceptor"),
    FILE_UPLOAD_ACCEPTOR("FILE.UPLOAD.ACCEPTOR", "文件上传Acceptor"),
    FILE_DOWNLOAD_ACCEPTOR("FILE.DOWNLOAD.ACCEPTOR", "文件下载Acceptor");

    private String name;

    private String description;

    AcceptorTypeEnum(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }
}
